import request from '@/utils/utils'

/**
 * 热门搜索
 * @param {*} params
 * @returns
 */
export function getHotword () {
  return request.get('/pro/hotword')
}

/**
 * 关键词搜索
 * @param {*} params
 * @returns
 */
export function getsearch (params) {
  return request.get('/pro/search', { params })
}

/**
 * 获取某分类下某品牌的产品列表
 * @param {*} params
 * @returns
 */
export function getCategorybrandprolist (params) {
  return request.get('/pro/categorybrandprolist', { params })
}
